import createAxios from '/@/utils/axios'

export const url = '/admin/houses/'

export function checkSumit( params: object = {}) {
    return createAxios({
        url: url + 'check',
        method: 'post',
        data: params,
    })
}

export function customFieldsSave( params: object = {}) {
    return createAxios({
        url: url + 'customFieldsSave',
        method: 'post',
        data: params,
    })
}
export function getCustomFields( params: object = {}) {
    return createAxios({
        url: url + 'customFieldsSave',
        method: 'get',
        data: params,
    })
}